
<%@ page contentType="text/html; charset=UTF-8"%>

<script type="text/javascript" src="js/jQuery.js"></script>
<script type="text/javascript" src="js/jQuery-ui.js"></script>
<script type="text/javascript" src="js/popup.js"></script>


<script type="text/javascript">

function createPopupMessage(message) {

    //Change these values to style your modal popup
    var width = 650;
    var align = "center";
    var top = 100;
    var padding = 10;
    var backgroundColor = "#FFFFFF";
    var borderColor = "#000000";
    var borderWeight = 4;
    var borderRadius = 5;
    var fadeOutTime = 300;
    var disableColor = "#666666";
    var disableOpacity = 40;
    var loadingImage='';
    var text="<div class='popup_message'>"+message+"</div>";
 
    //This method initialises the modal popup
    
    modalPopup( align,
     top,
     width,
     padding,
     disableColor,
     disableOpacity,
     backgroundColor,
     borderColor,
     borderWeight,
     borderRadius,
     fadeOutTime,
     text,
     loadingImage 
    );
  	};
	  	
function createPopupError(message) {
	 
	//Change these values to style your modal popup
	var width = 650;
	var align = "center";
	var top = 100;
	var padding = 10;
	var backgroundColor = "#FFFFFF";
	var borderColor = "#000000";
	var borderWeight = 4;
	var borderRadius = 5;
	var fadeOutTime = 300;
	var disableColor = "#666666";
	var disableOpacity = 40;
	var loadingImage='';
	var text="<div class='popup_error'>"+message+"</div>";
	
	//This method initialises the modal popup
	
	modalPopup( align,
	 top,
	 width,
	 padding,
	 disableColor,
	 disableOpacity,
	 backgroundColor,
	 borderColor,
	 borderWeight,
	 borderRadius,
	 fadeOutTime,
	 text,
	 loadingImage );
	};
	  	
</script>